23.5 The statistical mechanics of the photon gas